Hi DXL User, @files = glob join "",$Folder_path,"/*.xls"
azmath_india - Tue Jul 12 09:15:17 EDT 2011 |
Re: How to read multiple File names present in perticular folder |
Re: How to read multiple File names present in perticular folder OurGuest - Tue Jul 12 10:08:23 EDT 2011 But the script which you suggested will return the selected folder path only. Actually I need names of the pertucular type of files present in the selected folder. For example (*.xls) |
Re: How to read multiple File names present in perticular folder azmath_india - Wed Jul 13 02:27:59 EDT 2011
Check out the for strFile in directory sPathname do loop. Example:
string s = ""
string sPath = "C:\\Temp"
for s in directory sPath do {
if (s == "." || s == "..") continue
print "FILE: " (sPath "/" s) "\n"
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: How to read multiple File names present in perticular folder Mathias Mamsch - Wed Jul 13 04:49:39 EDT 2011
Check out the for strFile in directory sPathname do loop. Example:
string s = ""
string sPath = "C:\\Temp"
for s in directory sPath do {
if (s == "." || s == "..") continue
print "FILE: " (sPath "/" s) "\n"
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
Regards Azmath |